package com.ruibang.glass.quality.domain.resp;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * @Author: songJinKang
 * @CreateTime: 2023-12-01  15:38
 * @Description: TODO:
 * @Version: 1.0
 */
@Data
public class ParticlePlotData {
    private String glassId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    private String defectName;

    private Double x;

    private Double y;
}
